package com.yanqu.road.entity.grandchild;

import com.yanqu.road.entity.DataObject;

/**
 * 孙子职业
 */
public class GrandChildProfession extends DataObject {
    private long userId;            //玩家编号
    private int professionId;       //职业编号
    private long grandChildCount;   //该职业孙子数量
    private int skillLv;            //职业技能等级

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getProfessionId() {
        return professionId;
    }

    public void setProfessionId(int professionId) {
        if(this.professionId != professionId) {
            this.professionId = professionId;
            setUpdateOption();
        }
    }

    public long getGrandChildCount() {
        return grandChildCount;
    }

    public void setGrandChildCount(long grandChildCount) {
        if(this.grandChildCount != grandChildCount) {
            this.grandChildCount = grandChildCount;
            setUpdateOption();
        }
    }

    public int getSkillLv() {
        return skillLv;
    }

    public void setSkillLv(int skillLv) {
        if(this.skillLv != skillLv) {
            this.skillLv = skillLv;
            setUpdateOption();
        }
    }
}
